using UnityEngine;

public class AudioManager : SingletonMonoBehaviour<AudioManager>
{
    public AudioClip _startScene;
    public AudioClip _gamePlay;
    private AudioSource _AS;

    private void Awake()
    {
        INI_Singleton();
        DontDestroyOnLoad(this);
        _AS = GetComponent<AudioSource>();
    }

    private void Start()
    {

    }

    private void Update()
    {

    }

    public void StartMenu()
    {
        _AS.clip = _startScene;
        _AS.Play();
    }

    public void GamePlay()
    {
        _AS.clip = _gamePlay;
        _AS.Play();
    }
}
